home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
windows.arc
/
WINDOD.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1985-05-18
|
1KB
|
60 lines
{ Demonstration program for removable window package, WINDO.PAS }
{ For further documentation see PC Tech Journal, February 1985. }
{$I windo.pas}
var i: integer;
begin
initwin;
writeln('Now and every time the action stops,');
writeln('press ENTER to continue.');
readln;
clrscr;
for i:=1 to 25 do writeln(' This is the original screen.');
mkwin(3,3,50,18);
for i:=1 to 15 do writeln('This is the first window...');
readln;
mkwin(10,5,70,20);
for i:=1 to 15 do writeln('Second window...');
readln;
mkwin(15,15,45,23);
writeln('Third window...');
readln;
mkwin(55,10,79,25);
writeln('Fourth window...');
readln;
rmwin; { Remove fourth window }
readln;
rmwin; { Remove third window }
writeln;
writeln('We are back in the second window...');
readln;
rmwin; { Remove second window }
writeln;
writeln('This is the first window again!');
readln;
rmwin; { Remove first window }
readln
end.
Key <ENTER> to continue: s is the first window again!');
readln;
rmwin; { Remove first window }
readln
end.
Key